fixes #1053