fixes duplicate 404 method
whitelist for flashes