oops, fixed --edit bug