clean up pin activation