fix broken results and removed debug messages