Fixed idoc database