fixes #3461