version 1.6.6 and some fixes