debugged bre_dispose to stop the front overtaking the back