fix bug and aclass message clasification