Fixed a really stupid bug