0 instead undefined if bad url