small fix when a theme does not support widgets