fixes #1708