Fix 'Can't use function return value in write context' with empty function
Fix unique issue 'Invalid sidebar ID' if one of widgetable emptyed