fixes #2780
realfix #2780