fixed custom title bugs in widget module