get the correct option