Fixed spelling mistake in method call (#977)