fix for version check