add return keyword for setdefault method

I add the return keyword, and now it's OK