Fix some minor(but important!) bug.