fixed yet another bug...