issue on comparing object names

issue on comparing object names