Fixed the redundant pulling and extraction issue concerning metals.