Fix :smart

Wasn't using the right way
Log more when using wgi