fixed a really stupid bug