remove ::front and ::back