removed some bad logging which was causing error