error with status prop