Fix log code not bar