remove log and fix string