correct wait-for-finish