added flush for jenkins