src: crash fixed