fixed changeStatus method