validate empty URL