Fix expression pedel for rp500

Here's a potential fix for the reported rp500 issue.