fix bug in id value