avoid console errors in browser w/out console