commit add swt valid