redesigned constructor ip(unsigned int) + fix