fixed static files a better way