fix whitelist relative path