fixing flag for demo