fixed missing pointer