check for the right version