fix directory loading error /static/ at settings