fixes #1449