check for the right version of mojo properly