tried to fix a bug