fixed issue with widget not going at the right location