fixes grant type link