renamed variables in fixImages for clarity