fixed image access issue