support v4 lib upgraded to v20