fix widgets ref