save synclog to get ID
fix case state list
fix typo
remove memory debugging