fix relation with multi pk in preprocessing