Fix version check
Fix version check