fix for bad directories which cause yogi test wrong