cleanup debug bs