fixed error for comand compare