fix syntax error
add flusher process that does real stat flush