Fix cl functions.