fixed php notice errors
comparator for screencaps and pics