fixing pointer.