fixing a bug?