fixed console statement