fixing ip func