fixes #2650

fixes #2650