Rax module - minor fix

2 minor things:

- remove useless vars,
- get error message to mean something when required variable is missing (previously was displaying ```None is required for ....``` - now display the variable name)