fix yet another bug