reabilitation condition bug fixed