figuring out stack err in printing Ip