few improvement: ip log, clone dir