Fixed id_func and clocl