fix bug in dictionary modification
releasing 0.3.1