should fix a bug