fixed register parser error