checking id value