Scalar field and gravitational instability