fix demo methods