correcting RCB database file