Fix pointer adresses