Fixed pointer misuse