fixing the deleting issue in Post

 Please enter the commit message for your changes. Lines starting