Fixing lack of a return after list