fixed install / add public $db=true