tt: fixes for managed mode