possible fixes for memory leak
new build, taking out console.logs for build