A note on a semilinear elliptic problem