Fixed syntax error in quit