fixed bug of locktime