fixed typo in getMinorVersion() function call