fix syntax error
use logger