Fix and add some log error