fixes #1413
fixes #1413