fix checkSign