img cache fix