fixing add url in type