fix public/assets issue