fixes #2089

fix for 2.2.1