fix to double widget submit