debug crash fixed