add log for compatiblility