make image recognition a bit more sane