Remove redundant get version code, return version 0 when box is empty.