Fixing the set associative conflict and the output

of debug messages