add missing then

som requested to merge then into main

Merge request reports