Fixed PrintParser bugs