fix server not using static assets