A little fix of version check