version check fixes