Fixed some RPN errors