check spaces from line 125 to line 149