function reference to hideSystemMessage() corrected