How to delete a bar in the middle of the system?