Version checking fixed