change an errorf to a debugf