more corrections regarding version check