remove some logger
correct syntax error