remove some keeps that are not needed