fix for demos