Fix pk can not be 0