step fixes and updated error message