update to 1.6.5

fixed #1