fixed **dict bug