Fixed deletion of bars