cleanup code in ErlideBuilder