[mt36] some bugfixes, fix client freeze