url check improved

little changes to improve the url check bla