minor cleanups. removed console logs