fix reference to widget manager