add quiting; fixed bug when url starts with dot