fixed bug so static files display correctly in both settings environments