cleanup for buildstrm