file delete bug