fix bad bug