clean up the pin scaffold