fix pointer accuracy