gradient param order fixed