convert tabs to spaces
set max event listeners to avoid warnings