added ip support
corrections