fix had registered condition