Fixed syntax error & glitch