edit document fixed