fixed bug for ip log