removed debug code accidentally left in for previous fix