fixed bad bug