fixed status to be returned from the agent