fixed mc version detection