try to fix duplicate console output