Fixed debugging output errors.