update for 0.6.6 and fix #1