fixes #1363