add workaround to support reload of local image file