fix for OnQualifyUrl