fix path static
fix default db settings and cache for production