fix bug which showed up on continuous build when lbdb is turned off