fixes #4772
#4772