fix style not found when opening with browser