Fixed checking version