The company also said it benefited from a one-time gain.