fixed image processing