fix bad bug in active setter