fixed postgres version check bug