fix exit syntax err