final backend cleaning