ensure commit