fixed compareVersion
fixed compareVersion