fixes #2275