Fix the argument of shift() at line 133