remove misleading code that was never executed