Fix Scope for last command