[fix] remove retard code,found a better solution.
[fix] logger was missing argument.