load static files more properly