added missing gradient location reflection.