remove double logging