Temporary fix for URL-file preview issue