url validation some fix