removed some ghost lines and console logs