set current flag