Clean ending spaces
Fix modify_expression used in for loops