fix statistics task
fix bug in regexp