bug fixed, avoid -1