now production build works as it should