add active to model & unit_test