fixed image path bugs