useless resources were deleted