fix cannot work with css for production