fixed image string, changed index