add demo mode for the 304 bug