fixed dumb bug causing it to log twice.