clean up master