fixes #2650

done