found the stupid bug