few code fixes. 0.3.5 released