Fix print function reference