modify the getstatus condition