got rid of alert when deleting post