Some changes in erosion and dilation functions