fixed spec for demo mode.