removed unused debug messages.