fixes #2089