more fix for invalid url