clear lastScope variable