TDlibrary fixed