clean up pin scaffold