snippet fix for urls