fixed a bug with E++ button
fixed a bug with edit button