fixed some minor problems in dictionary