fixt on and off star method doesn't work bug