Remove a trailing print statement