fix to custom widgetator ajax call