Fixed syntax error and maxVersion