see #1003