copy paste error
removed debug logging