Fixed call stack issue for StateT transformer