On Dirichlet problem for second order elliptic equations