fix syntax error, and hide log