remove code that was throwing errors in console