Verified and fixed some issues for TT REST (DONE)