wrong place to put rescue code