assembl: delete view reference to window scope
assembl: refactoring code
assembl: add lock group further