fixed widget memory overflow