fixed which tdrt value is used
removed reset handler hook to after stack pointer setup