fix multiple models path resolving