fixing "print" error