Fixed getting headers