add svg extension if its missing