FIX: issue #974 (RANDOM action not defined)
Merge pull request #977 from qtxie/issue-974

FIX: issue #974 (RANDOM action not defined)