attempt to fix error in browsers console