fix production build and example