check for the right package