bug fixes to url preview