fix classs Worker because of failure travis-ci