change scope of elementOveride