fixes #2442