make "enabled" option work