fixing evaluating the status