fixed socket recv print