made dict key error exception mgs work