fixed the numm issue for local image