complete remove function in post model