Fixed a stupid bug, Should work fine now