fix log>type errorg