A note on a class of double well potential problems