Fixing issue with status overwriting message

Fixes an issue where the status variable has been renamed