removed unrefed things