fixed post editing creating a new entry