fix the bug i just introduced with the other bug fix