fix put expired bug, never expired is -1