fixed VM_IMG_LOC sed code