minor fix to edit