fixing a really stupid bug