fix Dict.all() method behavior