optimized deletion, dows not work