fixes #2844

fixes #2844