cleanup of cuts