fix for oneOrMany <file>... problem