remove console logs and cruft