fixed editing documents