remove continue statements, replace by positive conditions