updated Retina
removed widget variable from global scope