Removing unnecessary resource