move active flag to the properties