fixing register image name