removed passed arguement to adjustWidget() function