bugs in dict