Db #120 repair master relations

#120