Fix "edit 3" bug