removed old rst packet code.