Core db fix

Add enable option for dbcollections