fixed id case bug