this should fix the inconsistent result of images