fix barebone demo