TRying to solve delete bug.