upgrade to v1.6.6

Closes #5334.