Picked image comparison method & fixed a syntax error