found incredibly stupid bug