fix mystery bug