cleanup dependencies and default immediate 404 rules a bit