clean up
clear non-param locals