fixed some IP stuff + drawing