fixes #2918