fixed silly bug