fix demo check