Fixing some spacing issues for ifs and fors