FIX check if widget exist before loading default attributes.