fixed yet another bug