A new modified SPH method with novel treatments at the boundaries is proposed. It is shown, how the use of ghost particles can violate the continuity equation. All ghost particles are removed to improve the conservation of mass. Novel truncation correction factor is defined to improve the boundary consistency. The results show the acceptable accuracy of the method for the computation of both location and pressure.