fixes #391 (Yoda bug)