fix post model edit