Fix pointer deref