removed debug message and compiler warning