correct images, move detection to usermodel