Fixed faulty pointer