update the syntax check for RPS