added icon
fixed parameters in checking