fix set url key if exist