resolves #1526