form crash fixed