added deletion of spaces and descriptions