Fixed other db commands