fix #2744

fixes #2744