fixed error edit post