quick fixed exit crash