Fixed sw_uid integer issue, and outdated error message.