Fixed debug messages to be more informative