fixed widget config and some other minor issues