added debug on status