Prevent clear resources