Title: Market imperfections in general equilibrium models with uncertainty