updated to stable version for TA array. fixed several bugs.