fixes #1514