fix production build on ci