check id data length