fixed the crashing caused by not typing a semicolon at end of line