Fixed increase scope bug