local image bug fixed