change serial
check null id value