Fix active can't be null